<?php


//
// Determines if the array is an associative array. An associative array
// is like a dictionary, rather than just an indexed array.
//
function is_assoc($arr)
{
    return (is_array($arr) && count(array_filter(array_keys($arr), 'is_string')) == count($arr));
}


?>
